package com.aliyun.heiyu.powermaster.server.service;

import com.aliyun.heiyu.powermaster.proto.*;

import java.util.List;

public interface PropertiesService {

    String databaseBackup();

    void databaseBackupTime(DatabaseBackupTimeRequest request);

    int getDatabaseBackupTime();

    GetDatabaseBackupTimeReply getDatabaseBackupData();

    void updateLogConfig(UpdateLogRequest request);

    UpdateLogRequest getLogConfig();

    void updateLogEnvironment(UpdateLogEnvironmentRequest request);

    int getLogEnvironment();

    List<LogMassage> findLogByCondition(GetLogMassageRequest request);

    List<UpdateLogRequest> getLogHistory(GetLogHistoryRequest request);

}
